package gui;

import IBO.IClient;
import IBO.IIntervention;
import IBO.ITechnicien;
import IUSECASE.IUC_Factory;
import boerrors.ClientInexistantException;
import boerrors.TechnicienMinimumMultiplicityException;
import java.rmi.RemoteException;
import java.text.DateFormat;
import java.util.Date;
import java.text.SimpleDateFormat;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;

public class Jp_RechercherIntervention extends javax.swing.JPanel {
    
    private DefaultTableModel _tableModeleIntervention = new DefaultTableModel();
    private String[] _colInterventions = {"Id","Date","Priorité de la demande","Priorité de l'intervention"};
    private Frm_Application _parent = null;
    private Jp_InterventionDetails _interventiond=null;
    private Vector<IIntervention> _lstIntervention = null;
        
            public void initComponents2(Frm_Application parent, Jp_InterventionDetails interventiond){
        this._parent = parent;
        this._interventiond = interventiond;
        this._tableModeleIntervention.setColumnIdentifiers(_colInterventions);
        this.buttonGroup.add(this.jRadioButtonComplete);
        this.buttonGroup.add(this.jRadioButtonOuvertes);
        this.buttonGroup.add(this.jRadioButtonCloturees);
            }
    
    /** Creates new form Jp_RechercherIntervention */
    public Jp_RechercherIntervention() {
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        buttonGroup2 = new javax.swing.ButtonGroup();
        buttonGroup = new javax.swing.ButtonGroup();
        jPanel7 = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jXTitledPanel_ClientP = new org.jdesktop.swingx.JXTitledPanel();
        jXPanel4 = new org.jdesktop.swingx.JXPanel();
        jTabbedPane2 = new javax.swing.JTabbedPane();
        jXPanel2 = new org.jdesktop.swingx.JXPanel();
        jLabel5 = new javax.swing.JLabel();
        jtxt_IdIntervention = new javax.swing.JTextField();
        jbtn_RechercheNumeroIntervention = new javax.swing.JButton();
        jXPanel1 = new org.jdesktop.swingx.JXPanel();
        jLabel3 = new javax.swing.JLabel();
        jtxt_NumeroClient = new javax.swing.JTextField();
        jbtn_RechercheNumeroClient = new javax.swing.JButton();
        jRadioButtonComplete = new javax.swing.JRadioButton();
        jRadioButtonOuvertes = new javax.swing.JRadioButton();
        jRadioButtonCloturees = new javax.swing.JRadioButton();
        jXPanel5 = new org.jdesktop.swingx.JXPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTable_Intervention = new javax.swing.JTable();
        jbtn_SelectionClientP = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();

        jPanel7.setBackground(new java.awt.Color(0, 102, 153));
        jPanel7.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jLabel11.setFont(new java.awt.Font("Tahoma", 3, 14));
        jLabel11.setForeground(new java.awt.Color(255, 255, 255));
        jLabel11.setText("Rechercher une intervention");

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel11)
                .addContainerGap(361, Short.MAX_VALUE))
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel7Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel11)
                .addContainerGap())
        );

        jXTitledPanel_ClientP.setTitle(" Recherche d'une intervention");

        jXPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Critères de rechercher"));

        jLabel5.setText("Numéro:");

        jbtn_RechercheNumeroIntervention.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jbtn_RechercheNumeroIntervention.setText("Rechercher");
        jbtn_RechercheNumeroIntervention.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_RechercheNumeroInterventionActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel2Layout = new javax.swing.GroupLayout(jXPanel2);
        jXPanel2.setLayout(jXPanel2Layout);
        jXPanel2Layout.setHorizontalGroup(
            jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel2Layout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtxt_IdIntervention, javax.swing.GroupLayout.DEFAULT_SIZE, 480, Short.MAX_VALUE))
                    .addComponent(jbtn_RechercheNumeroIntervention, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jXPanel2Layout.setVerticalGroup(
            jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jtxt_IdIntervention, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jbtn_RechercheNumeroIntervention)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Numéro d'intervention", jXPanel2);

        jLabel3.setText("Numéro:");

        jbtn_RechercheNumeroClient.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jbtn_RechercheNumeroClient.setText("Rechercher");
        jbtn_RechercheNumeroClient.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_RechercheNumeroClientActionPerformed(evt);
            }
        });

        jRadioButtonComplete.setSelected(true);
        jRadioButtonComplete.setText("Liste complète");

        jRadioButtonOuvertes.setText("Interventions ouvertes");
        jRadioButtonOuvertes.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonOuvertesActionPerformed(evt);
            }
        });

        jRadioButtonCloturees.setText("Interventions clôturées");

        javax.swing.GroupLayout jXPanel1Layout = new javax.swing.GroupLayout(jXPanel1);
        jXPanel1.setLayout(jXPanel1Layout);
        jXPanel1Layout.setHorizontalGroup(
            jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jXPanel1Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButtonComplete)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonOuvertes)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonCloturees)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jbtn_RechercheNumeroClient))
                    .addComponent(jtxt_NumeroClient, javax.swing.GroupLayout.DEFAULT_SIZE, 480, Short.MAX_VALUE))
                .addContainerGap())
        );
        jXPanel1Layout.setVerticalGroup(
            jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(jtxt_NumeroClient, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jbtn_RechercheNumeroClient)
                    .addComponent(jRadioButtonOuvertes)
                    .addComponent(jRadioButtonCloturees)
                    .addComponent(jRadioButtonComplete))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Numéro du client", jXPanel1);

        javax.swing.GroupLayout jXPanel4Layout = new javax.swing.GroupLayout(jXPanel4);
        jXPanel4.setLayout(jXPanel4Layout);
        jXPanel4Layout.setHorizontalGroup(
            jXPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 550, Short.MAX_VALUE)
        );
        jXPanel4Layout.setVerticalGroup(
            jXPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        jXPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Résultat de la recherche"));

        jTable_Intervention.setModel(_tableModeleIntervention);
        jScrollPane2.setViewportView(jTable_Intervention);

        jbtn_SelectionClientP.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/tick.png"))); // NOI18N
        jbtn_SelectionClientP.setText("Sélectionner");
        jbtn_SelectionClientP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_SelectionClientPActionPerformed(evt);
            }
        });

        jButton6.setText("Annuler");
        jButton6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton6ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel5Layout = new javax.swing.GroupLayout(jXPanel5);
        jXPanel5.setLayout(jXPanel5Layout);
        jXPanel5Layout.setHorizontalGroup(
            jXPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jXPanel5Layout.createSequentialGroup()
                .addContainerGap(354, Short.MAX_VALUE)
                .addComponent(jbtn_SelectionClientP)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton6)
                .addContainerGap())
            .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 550, Short.MAX_VALUE)
        );
        jXPanel5Layout.setVerticalGroup(
            jXPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jXPanel5Layout.createSequentialGroup()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jbtn_SelectionClientP)
                    .addComponent(jButton6))
                .addContainerGap(66, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jXTitledPanel_ClientPLayout = new javax.swing.GroupLayout(jXTitledPanel_ClientP.getContentContainer());
        jXTitledPanel_ClientP.getContentContainer().setLayout(jXTitledPanel_ClientPLayout);
        jXTitledPanel_ClientPLayout.setHorizontalGroup(
            jXTitledPanel_ClientPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jXPanel5, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jXPanel4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jXTitledPanel_ClientPLayout.setVerticalGroup(
            jXTitledPanel_ClientPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXTitledPanel_ClientPLayout.createSequentialGroup()
                .addComponent(jXPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jXPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Intervention", jXTitledPanel_ClientP);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 571, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 413, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed
        this.setVisible(false);
    }//GEN-LAST:event_jButton6ActionPerformed

    private void jbtn_RechercheNumeroClientActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_RechercheNumeroClientActionPerformed
        try {

            String[] objTmp = new String[4];
            this._tableModeleIntervention.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClient> lstClt = factory.getGestionClients().rechercher_NumClient(Integer.parseInt(jtxt_NumeroClient.getText()));
            //Si on a identifie un client existant
            if (lstClt.size() != 0){
                //Lister les interventions ouvertes
                if (this.jRadioButtonOuvertes.isSelected())
                    this._lstIntervention = factory.getGestionIntervention().rechercherListeOuvertes(Integer.parseInt(jtxt_NumeroClient.getText()));
                //Lister les interventions cloturees
                if (this.jRadioButtonCloturees.isSelected())
                    this._lstIntervention = factory.getGestionIntervention().rechercherListeCloturees(Integer.parseInt(jtxt_NumeroClient.getText()));
                //Lister l'ensemble des interventions
                if (this.jRadioButtonComplete.isSelected())
                    this._lstIntervention = factory.getGestionIntervention().rechercherListeComplete(Integer.parseInt(jtxt_NumeroClient.getText()));
                for (int i = 0; i < this._lstIntervention.size(); i++) {
                objTmp[0] = String.valueOf(this._lstIntervention.get(i).getIdIntervention());
                DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
                Date dateDate = this._lstIntervention.get(i).getDateDemande().getTime();
                String dateFormatee = dateFormat.format(dateDate);
                objTmp[1] = dateFormatee;
                objTmp[2] = this._lstIntervention.get(i).getPrioriteDemande();
                objTmp[3] = this._lstIntervention.get(i).getPrioriteIntervention();
                this._tableModeleIntervention.addRow(objTmp);}
            }
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherIntervention.class.getName()).log(Level.SEVERE, null, ex);
        }
}//GEN-LAST:event_jbtn_RechercheNumeroClientActionPerformed

    private void jbtn_RechercheNumeroInterventionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_RechercheNumeroInterventionActionPerformed
        try {
            
            String[] objTmp = new String[4];
            this._tableModeleIntervention.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IIntervention> lstTmp = factory.getGestionIntervention().rechercherIntervention(Integer.parseInt(jtxt_IdIntervention.getText()));
            this._lstIntervention = lstTmp;
            for (int i = 0; i < this._lstIntervention.size(); i++) {
                objTmp[0] = String.valueOf(this._lstIntervention.get(i).getIdIntervention());
                DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
                Date dateDate = this._lstIntervention.get(i).getDateDemande().getTime();
                String dateFormatee = dateFormat.format(dateDate);
                objTmp[1] = dateFormatee;
                objTmp[2] = this._lstIntervention.get(i).getPrioriteDemande();
                objTmp[3] = this._lstIntervention.get(i).getPrioriteIntervention();
                this._tableModeleIntervention.addRow(objTmp);
            }
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherIntervention.class.getName()).log(Level.SEVERE, null, ex);
        }
}//GEN-LAST:event_jbtn_RechercheNumeroInterventionActionPerformed

    private void jRadioButtonOuvertesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonOuvertesActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jRadioButtonOuvertesActionPerformed

    private void jbtn_SelectionClientPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_SelectionClientPActionPerformed
        try {
            IIntervention _intervention = this._lstIntervention.elementAt(jTable_Intervention.getSelectedRow());
            ITechnicien _technicien = ((IIntervention) this._lstIntervention.elementAt(jTable_Intervention.getSelectedRow())).getITechnicien();
            IClient _client = ((IIntervention) this._lstIntervention.elementAt(jTable_Intervention.getSelectedRow())).getIClient();
            this._interventiond.initComponents2(this._parent);
            this._interventiond.setInformations(_intervention, _technicien, _client);
            this._parent.frmDetailsI();
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherIntervention.class.getName()).log(Level.SEVERE, null, ex);
        } catch (ClientInexistantException ex) {
            Logger.getLogger(Jp_RechercherIntervention.class.getName()).log(Level.SEVERE, null, ex);
        } catch (TechnicienMinimumMultiplicityException ex) {
            Logger.getLogger(Jp_RechercherIntervention.class.getName()).log(Level.SEVERE, null, ex);
        } catch (NullPointerException ex){
            JOptionPane.showMessageDialog(this,"Veuillez sélectionner une intervention.","Information",JOptionPane.INFORMATION_MESSAGE);
        } catch (ArrayIndexOutOfBoundsException ex){
            JOptionPane.showMessageDialog(this,"Veuillez sélectionner une intervention.","Information",JOptionPane.INFORMATION_MESSAGE);
        }
        
    }//GEN-LAST:event_jbtn_SelectionClientPActionPerformed
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.ButtonGroup buttonGroup2;
    private javax.swing.JButton jButton6;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JRadioButton jRadioButtonCloturees;
    private javax.swing.JRadioButton jRadioButtonComplete;
    private javax.swing.JRadioButton jRadioButtonOuvertes;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTabbedPane jTabbedPane2;
    private javax.swing.JTable jTable_Intervention;
    private org.jdesktop.swingx.JXPanel jXPanel1;
    private org.jdesktop.swingx.JXPanel jXPanel2;
    private org.jdesktop.swingx.JXPanel jXPanel4;
    private org.jdesktop.swingx.JXPanel jXPanel5;
    private org.jdesktop.swingx.JXTitledPanel jXTitledPanel_ClientP;
    private javax.swing.JButton jbtn_RechercheNumeroClient;
    private javax.swing.JButton jbtn_RechercheNumeroIntervention;
    private javax.swing.JButton jbtn_SelectionClientP;
    private javax.swing.JTextField jtxt_IdIntervention;
    private javax.swing.JTextField jtxt_NumeroClient;
    // End of variables declaration//GEN-END:variables
    
}
